<template>
  <div id="detailslist"> 


          <el-table :data="datalist" style="width: 100%" :height="dtheight" :header-cell-style="{background:'#4F81BC',color:'white'}"
          :row-class-name="tableRowClassName"  :border="true"  v-loading="loading">

                <el-table-column label="时间"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span>{{ scope.row.time }}</span>
                    </template>
                </el-table-column>
                 <el-table-column label="预约人数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.appointment_number }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="预约抢拍"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.appointment_buy_number }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="进场人数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.browse_count }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="挂卖总数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.on_sale_count }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="正常地数量"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.normal_count }}</span>                     
                    </template>
                </el-table-column>
                <el-table-column label="初始地数量"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.initial_count }}</span>                     
                    </template>
                </el-table-column>
                <el-table-column :label="variable_name2 + '数量'"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.gdb_ticket_count }}</span>                     
                    </template>
                </el-table-column>
                <el-table-column :label="variable_name2 + '数量明日'"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.tomorrow_gdb_ticket_count }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="抢拍人数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.go_buy_person_count }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="锁单次数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.lock_count }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="抢拍次数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.go_buy_count }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="流拍次数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.loss_count }}</span>                     
                    </template>
                </el-table-column>
                <el-table-column label="完成次数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.finish_count }}</span>                     
                    </template>
                </el-table-column>
                 <el-table-column label="回收次数"  align='center' >                   
                    <template slot-scope="scope">  
                        <span>{{ scope.row.recovery_count }}</span>                     
                    </template>
                </el-table-column>
 
            </el-table>  


   </div>
</template>

<script>

export default {
   name: 'detailslist',
   props:{
      datalist:{  
        //type:Array,
       default:()=>[]
     },
     loading:{
      type: Boolean,
      }
  },
  data () {
    return {
        dtheight:'500',  //窗口高度
    }
  },
   components:{

  },
  created(){
     this.dtheight = window.innerHeight - 200
      
  },
  mounted (){
    
  },
  methods: {
 
  }
}
</script>


<style scoped>

</style>